<include file="Public:pagerForm" />
<tagLib name="html" />
<div class="pageHeader">
	<form rel="pagerForm" onsubmit="return navTabSearch(this);" action="__URL__" method="post">
	<div class="searchBar">
		<ul class="searchContent">
			<li>
				<label>组名：</label>
				<input type="text" name="name" />
			</li>
		</ul>
		<div class="subBar">
			<ul>
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">查询</button></div></div></li>
			</ul>
		</div>
	</div>
	</form>
</div>

<div class="pageContent">
	<div class="panelBar">
		<ul class="toolBar">
			<li><a class="add" href="__URL__/add" target="dialog" mask="true"><span>新增</span></a></li>
			<li>
			<a class="delete" title="确定要删除吗?" rel="c1" postType="abc" href="__APP__/Role/delete" target="selectedTodo" warn="请选择角色"><span>删除</span></a>
			</li>
			<li><a class="edit" href="__URL__/edit/id/{sid_role}" target="dialog" mask="true" warn="请选择角色"><span>编辑</span></a></li>
		</ul>
	</div>
	
	<div class="grid">
	<html:list id="checkList" target="ajaxTodo" actWidth="150" openWh="800-900,700-600,500-300"  style="table" name="action" checkbox="true" action="true" datasource="list" show="id:编号|50,name:组名|100,pid|getGroupName:上级组|100,status|getStatus:状态|80,remark:描述|80" actionlist="status|showStatus=$action['id'],app:授权:id,user:用户列表:id" /> 
    </div>
	<div class="panelBar">
		<div class="pages">
			<span>共{$totalCount}条</span>
		</div>
		<div class="pagination" targetType="navTab" totalCount="{$totalCount}" numPerPage="{$numPerPage}" pageNumShown="10" currentPage="{$currentPage}"></div>
	</div>

</div>


